package com.sneaker.shower.mapstruct;

import com.sneaker.shower.entity.domain.order.CartDO;
import com.sneaker.shower.entity.dto.CartDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import org.springframework.stereotype.Component;

@Component
@Mapper(componentModel = "spring")
public interface CartMapStruct {
    CartMapStruct INSTANCE = Mappers.getMapper(CartMapStruct.class);

    CartDTO do2DTO(CartDO cartDO);
}
